package com.rr.shardingdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * @author RR
 * @date 2022/6/13 22:55
 */
@Getter
@Setter
//@TableName("course_1")
public class Course {
    @TableId
    private Long cid;
    @TableField("cname")
    private String cname;
    @TableField("user_id")
    private Long userId;
    @TableField("cstatus")
    private String cstatus;
}
